package com.tarena.lbs.business.dao.repository;

import com.tarena.lbs.business.pojo.po.BusinessPO;
import com.tarena.lbs.business.pojo.query.BusinessQuery;
import org.springframework.stereotype.Repository;

import java.util.List;


public interface BusinessRepository {

    List<BusinessPO> list(BusinessQuery query);

    void addBusiness(BusinessPO po);

    BusinessPO selectById(Integer businessId);
}
